package com.hp.service.impl;

import java.util.List;

import com.hp.dao.GoodsDao;
import com.hp.service.GoodsService;

public class GoodsServiceImpl implements GoodsService {
	private GoodsDao goodsdao;
	
	public void setGoodsdao(GoodsDao goodsdao) {
		this.goodsdao = goodsdao;
	}

	@Override
	public List findGoodsByName(String name) {
		return goodsdao.findGoodsByName(name);
	}

}
